Optimal. Leaf size=315 \[ -\frac {45 x^2 \sqrt {-1+a x}}{128 a^3 \sqrt {1-a x}}-\frac {3 x^4 \sqrt {-1+a x}}{128 a \sqrt {1-a x}}-\frac {45 x \sqrt {1-a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{64 a^4}-\frac {3 x^3 \sqrt {1-a x} \sqrt {1+a x} \cosh ^{-1}(a x)}{32 a^2}+\frac {45 \sqrt {-1+a x} \cosh ^{-1}(a x)^2}{128 a^5 \sqrt {1-a x}}-\frac {9 x^2 \sqrt {-1+a x} \cosh ^{-1}(a x)^2}{16 a^3 \sqrt {1-a x}}-\frac {3 x^4 \sqrt {-1+a x} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a x}}-\frac {3 x \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)^3}{8 a^4}-\frac {x^3 \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)^3}{4 a^2}+\frac {3 \sqrt {-1+a x} \cosh ^{-1}(a x)^4}{32 a^5 \sqrt {1-a x}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.62, antiderivative size = 315, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {5938, 5892,
5883, 5939, 5893, 30} \begin {gather*} \frac {3 \sqrt {a x-1} \cosh ^{-1}(a x)^4}{32 a^5 \sqrt {1-a x}}+\frac {45 \sqrt {a x-1} \cosh ^{-1}(a x)^2}{128 a^5 \sqrt {1-a x}}-\frac {45 x \sqrt {1-a x} \sqrt {a x+1} \cosh ^{-1}(a x)}{64 a^4}-\frac {45 x^2 \sqrt {a x-1}}{128 a^3 \sqrt {1-a x}}-\frac {9 x^2 \sqrt {a x-1} \cosh ^{-1}(a x)^2}{16 a^3 \sqrt {1-a x}}-\frac {3 x^3 \sqrt {1-a x} \sqrt {a x+1} \cosh ^{-1}(a x)}{32 a^2}-\frac {x^3 \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)^3}{4 a^2}-\frac {3 x \sqrt {1-a^2 x^2} \cosh ^{-1}(a x)^3}{8 a^4}-\frac {3 x^4 \sqrt {a x-1}}{128 a \sqrt {1-a x}}-\frac {3 x^4 \sqrt {a x-1} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5883
Rule 5892
Rule 5893
Rule 5938
Rule 5939
Rubi steps
\begin {align*} \int \frac {x^4 \cosh ^{-1}(a x)^3}{\sqrt {1-a^2 x^2}} \, dx &=\frac {\left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^4 \cosh ^{-1}(a x)^3}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{\sqrt {1-a^2 x^2}}\\ &=-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^2 \cosh ^{-1}(a x)^3}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{4 a^2 \sqrt {1-a^2 x^2}}-\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x^3 \cosh ^{-1}(a x)^2 \, dx}{4 a \sqrt {1-a^2 x^2}}\\ &=-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^4 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{8 \sqrt {1-a^2 x^2}}+\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {\cosh ^{-1}(a x)^3}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x \cosh ^{-1}(a x)^2 \, dx}{8 a^3 \sqrt {1-a^2 x^2}}\\ &=-\frac {3 x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{32 a^2 \sqrt {1-a^2 x^2}}-\frac {9 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a^3 \sqrt {1-a^2 x^2}}-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^4}{32 a^5 \sqrt {1-a^2 x^2}}+\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^2 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{32 a^2 \sqrt {1-a^2 x^2}}+\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {x^2 \cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{8 a^2 \sqrt {1-a^2 x^2}}-\frac {\left (3 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x^3 \, dx}{32 a \sqrt {1-a^2 x^2}}\\ &=-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x}}{128 a \sqrt {1-a^2 x^2}}-\frac {45 x (1-a x) (1+a x) \cosh ^{-1}(a x)}{64 a^4 \sqrt {1-a^2 x^2}}-\frac {3 x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{32 a^2 \sqrt {1-a^2 x^2}}-\frac {9 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a^3 \sqrt {1-a^2 x^2}}-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^4}{32 a^5 \sqrt {1-a^2 x^2}}+\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {\cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{64 a^4 \sqrt {1-a^2 x^2}}+\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int \frac {\cosh ^{-1}(a x)}{\sqrt {-1+a x} \sqrt {1+a x}} \, dx}{16 a^4 \sqrt {1-a^2 x^2}}-\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x \, dx}{64 a^3 \sqrt {1-a^2 x^2}}-\frac {\left (9 \sqrt {-1+a x} \sqrt {1+a x}\right ) \int x \, dx}{16 a^3 \sqrt {1-a^2 x^2}}\\ &=-\frac {45 x^2 \sqrt {-1+a x} \sqrt {1+a x}}{128 a^3 \sqrt {1-a^2 x^2}}-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x}}{128 a \sqrt {1-a^2 x^2}}-\frac {45 x (1-a x) (1+a x) \cosh ^{-1}(a x)}{64 a^4 \sqrt {1-a^2 x^2}}-\frac {3 x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)}{32 a^2 \sqrt {1-a^2 x^2}}+\frac {45 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{128 a^5 \sqrt {1-a^2 x^2}}-\frac {9 x^2 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a^3 \sqrt {1-a^2 x^2}}-\frac {3 x^4 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^2}{16 a \sqrt {1-a^2 x^2}}-\frac {3 x (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{8 a^4 \sqrt {1-a^2 x^2}}-\frac {x^3 (1-a x) (1+a x) \cosh ^{-1}(a x)^3}{4 a^2 \sqrt {1-a^2 x^2}}+\frac {3 \sqrt {-1+a x} \sqrt {1+a x} \cosh ^{-1}(a x)^4}{32 a^5 \sqrt {1-a^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.32, size = 136, normalized size = 0.43 \begin {gather*} \frac {\sqrt {\frac {-1+a x}{1+a x}} (1+a x) \left (-192 \left (1+2 \cosh ^{-1}(a x)^2\right ) \cosh \left (2 \cosh ^{-1}(a x)\right )-3 \left (1+8 \cosh ^{-1}(a x)^2\right ) \cosh \left (4 \cosh ^{-1}(a x)\right )+4 \cosh ^{-1}(a x) \left (24 \cosh ^{-1}(a x)^3+32 \left (3+2 \cosh ^{-1}(a x)^2\right ) \sinh \left (2 \cosh ^{-1}(a x)\right )+\left (3+8 \cosh ^{-1}(a x)^2\right ) \sinh \left (4 \cosh ^{-1}(a x)\right )\right )\right )}{1024 a^5 \sqrt {-((-1+a x) (1+a x))}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(519\) vs.
\(2(259)=518\).
time = 5.08, size = 520, normalized size = 1.65
method | result | size |
default | \(-\frac {3 \sqrt {-a^{2} x^{2}+1}\, \sqrt {a x -1}\, \sqrt {a x +1}\, \mathrm {arccosh}\left (a x \right )^{4}}{32 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (8 a^{5} x^{5}-12 a^{3} x^{3}+8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{4} x^{4}+4 a x -8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}+\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (32 \mathrm {arccosh}\left (a x \right )^{3}-24 \mathrm {arccosh}\left (a x \right )^{2}+12 \,\mathrm {arccosh}\left (a x \right )-3\right )}{2048 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x +2 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}-\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (4 \mathrm {arccosh}\left (a x \right )^{3}-6 \mathrm {arccosh}\left (a x \right )^{2}+6 \,\mathrm {arccosh}\left (a x \right )-3\right )}{32 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (2 a^{3} x^{3}-2 a x -2 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}+\sqrt {a x -1}\, \sqrt {a x +1}\right ) \left (4 \mathrm {arccosh}\left (a x \right )^{3}+6 \mathrm {arccosh}\left (a x \right )^{2}+6 \,\mathrm {arccosh}\left (a x \right )+3\right )}{32 a^{5} \left (a^{2} x^{2}-1\right )}-\frac {\sqrt {-a^{2} x^{2}+1}\, \left (-8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{4} x^{4}+8 a^{5} x^{5}+8 \sqrt {a x +1}\, \sqrt {a x -1}\, a^{2} x^{2}-12 a^{3} x^{3}-\sqrt {a x -1}\, \sqrt {a x +1}+4 a x \right ) \left (32 \mathrm {arccosh}\left (a x \right )^{3}+24 \mathrm {arccosh}\left (a x \right )^{2}+12 \,\mathrm {arccosh}\left (a x \right )+3\right )}{2048 a^{5} \left (a^{2} x^{2}-1\right )}\) | \(520\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4} \operatorname {acosh}^{3}{\left (a x \right )}}{\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {x^4\,{\mathrm {acosh}\left (a\,x\right )}^3}{\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________